
//
//  CarDetail.m
//  CarTown
//
//  Created by xionghao on 15/8/21.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "CarDetail.h"

@implementation CarDetail
+(instancetype)detailWithDict:(NSDictionary *)dict{
    CarDetail *detail=[[CarDetail alloc]init];
    [detail setValuesForKeysWithDictionary:dict];
    return detail;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.ID=value;
    }
}
@end
